/**
 * 
 */
package com.trmp.dj.productMng.dao;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import com.trmp.commons.dao.GenericRepository;
import com.trmp.dj.productMng.entity.LocalRouteDetail;

/**
 * @author divine
 *
 */
public interface RouteOfferDetailDao extends GenericRepository<LocalRouteDetail, Long> {

	@Modifying
	@Query(value = "delete from T_LOCAL_ROUTE_DETAIL r where r.routeId=?1", nativeQuery = true)
	public void deletebyRouteId(Long routeId);
}
